<?php

//echo "Stack DECKROOT:" . DECKROOT . "<br />";

require DECKROOT . '/config/config.php';
include DECKROOT . '/classes/database/'.$dbType.".php";

Class pmtStackList
{

	var $cData;
	var $stackList;
	
	function __construct()
	{
		$cData = new pmtData($dbHost,$dbUser,$dbPass,$dbName);
		
		$stackList = $cData->retrieve('*', 'pmtStack');
		
	}
	
	function __destruct() {
	
		$cData->close();
	
	}
	
	
}


Class pmtStack
{
	
	var $stackID;
	var $stackDeckID;
	var $stackName;
	var $stackShortDescription;
	var $stackDescription;
	var $stackStatus;
	
	var $cData;
	
	function __construct(){
		
		$cData = new pmtData($dbHost,$dbUser,$dbPass,$dbName);
			
	}	
	
	function __destruct() {
		
		$cData->close();
		
	}
	
	function create($stackName, $stackDeckID, $stackShortDescription, $stackDescription, $stackStatus) {
		
	}
	
	function retrieve($stackID) {
		
	}
	
	function update($stackID) {
		
	}
	
	function delete($stackID) {
		
	}
		
}
?>